package cn.zf233.xcloud.mapper;

import cn.zf233.xcloud.entity.Share;

import java.util.List;

/**
 * Created by zf233 on 2021/2/14
 */
public interface ShareMapper {
    Share selectByPrimaryKey(Long id);

    List<Share> selectByUserId(Long userId);

    List<Share> selectAll();

    Integer deleteByPrimaryKey(Long id);

    Integer insert(Share share);

    Integer updateByPrimaryKeySelective(Share share);
}